<html><head><title>AddPackFile</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">AddPackFile()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>AddPackFile</b></font>(#Pack, Filename$, PackedFilename$)</blockquote>

<b>Description</b><br><blockquote>

Add and compress the file to the specified pack previously created with <a href="createpack.html">CreatePack()</a>. 
Adding a large file can take a long time. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Pack</i></td>
<td width="90%"> 
The pack to use. 

</td></tr>
<tr><td><i>Filename$</i></td>
<td> 
The filename$ to add to the pack. 

</td></tr>
<tr><td><i>PackedFilename$</i></td>
<td> 
The filename to use in the archive to store the file. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Nonzero if the file has been successfully added to the packfile. 
If the file can't be compressed, it will be stored as is in the packfile. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="createpack.html">CreatePack()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><a href="index.html">Packer Index</a> - <a href="addpackmemory.html">AddPackMemory()</a> -><br><br>

</body></html>